<?php
  session_start();
  $userType = $_SESSION['userType'];
  if($userType != 2)
     header('Location: ../../UnauthorizedUser.php');

?>